home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
olrdrs
/
bwdev201.zip
/
BLUEWAVE.INC
< prev
next >
Wrap
Text File
|
1994-01-18
|
50KB
|
877 lines
(*****************************************************************************)
(* *)
(* The Blue Wave Offline Mail System Packet Structures *)
(* Copyright 1990-1994 by George Hatchew and Cutting Edge Computing *)
(* All rights reserved - FidoNet 1:2240/176 *)
(* *)
(* Last Updated - January 18, 1994 *)
(* *)
(* --------------------------------------------------------- *)
(* DISTRIBUTION OF THIS FILE IS LIMITED BY THE TERMS *)
(* SPECIFIED IN THE BLUE WAVE STRUCTURE DOCUMENTATION! *)
(* --------------------------------------------------------- *)
(* *)
(* NOTE: Refer to BLUEWAVE.H and the Blue Wave structure documentation *)
(* for additional comments and information. *)
(* *)
(*****************************************************************************)
const
PACKET_LEVEL=2; { Mail packet revision level }
ORIGINAL_INF_HEADER_LEN=1230; { Original *.INF header len }
ORIGINAL_INF_AREA_LEN=80; { Original *.INF area rec len }
ORIGINAL_MIX_STRUCT_LEN=14; { Original *.MIX record len }
ORIGINAL_FTI_STRUCT_LEN=186; { Original *.FTI record len }
type
(*****************************************************************************)
(* >>>>>>>>>>>>>>>>>>>>> DOOR DATA FILE STRUCTURES <<<<<<<<<<<<<<<<<<<<<<< *)
(*****************************************************************************)
(*
** Name of file: *.INF
**
** Description: The *.INF file is the source of information for just about
** everything from the host BBS, as well as definitions for
** all of the message areas that are available to the user
** and their status (Local, EchoMail, NetMail, Read Only,
** etc.).
**
** File format: INF_HEADER { only included one time! }
** INF_AREA_INFO { repeated for as many msg bases }
** INF_AREA_INFO { as are available to the user }
** ...
*)
inf_uflags =
(
INF_HOTKEYS, { User uses "hotkeys" in door prompts }
INF_XPERT, { Short menus displayed in door }
INF_RES1, { RESERVED -- DO NOT USE! }
INF_GRAPHICS, { Enable ANSI control sequences in door }
INF_NOT_MY_MAIL, { Do not bundle mail from user }
INF_UFLAG_RES1, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES2, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES3, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES4, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES5, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES6, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES7, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES8, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES9, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES10, { RESERVED FOR FUTURE USE }
INF_UFLAG_RES11 { RESERVED FOR FUTURE USE }
);
inf_netmail_flags =
(
INF_CAN_CRASH, { Allow Crash status }
INF_CAN_ATTACH, { Allow File Attach messages }
INF_CAN_KSENT, { Allow Kill/Sent status }
INF_CAN_HOLD, { Allow Hold status }
INF_CAN_IMM, { Allow Immediate status }
INF_CAN_FREQ, { Allow File Request messages }
INF_CAN_DIRECT, { Allow Direct status }
INF_NETMAIL_RES1, { RESERVED FOR FUTURE USE }
INF_NETMAIL_RES2, { RESERVED FOR FUTURE USE }
INF_NETMAIL_RES3, { RESERVED FOR FUTURE USE }
INF_NETMAIL_RES4, { RESERVED FOR FUTURE USE }
INF_NETMAIL_RES5, { RESERVED FOR FUTURE USE }
INF_NETMAIL_RES6, { RESERVED FOR FUTURE USE }
INF_NETMAIL_RES7, { RESERVED FOR FUTURE USE }
INF_NETMAIL_RES8, { RESERVED FOR FUTURE USE }
INF_NETMAIL_RES9 { RESERVED FOR FUTURE USE }
);
INF_HEADER =
record
ver:byte; { Packet version type (currently 2) }
readerfiles:array[1..5] of { Files to be displayed by reader }
array[1..13] of byte;
regnum:array[1..9] of byte; { User's registration number }
mashtype:byte; { Currently unused (door fills with 0) }
{ Reserved for Blue Wave reader to store }
{ the compression type the packet uses. }
loginname:array[1..43] of byte; { Name user types at BBS login }
aliasname:array[1..43] of byte; { User's "other" name }
password:array[1..21] of byte; { Password }
{ All bytes should be the actually ASCII }
{ value plus 10. Lame security, yes, }
{ but it does prevent "TYPE *.INF" from }
{ showing the password. }
passtype:byte; { Password type }
{ 0=none 1=door 2=reader 3=both }
zone:word; { Main network address of host BBS }
net:word; { (zone:net/node.point) }
node:word;
point:word;
sysop:array[1..41] of byte; { Name of SysOp of host BBS }
obsolete1:array[1..2] of byte; { OBSOLETE -- DO NOT USE! }
systemname:array[1..65] { Name of host BBS }
of byte;
maxfreqs:byte; { Max number of file requests allowed }
obsolete2:array[1..6] of byte; { OBSOLETE -- DO NOT USE! }
uflags:set of inf_uflags; { Bit-mapped door options/toggles }
keywords:array[1..10] of { User's entire set of door keywords }
array[1..21] of byte;
filters:array[1..10] of { User's entire set of door filters }
array[1..21] of byte;
macros:array[1..3] of { User's door bundling command macros }
array[1..80] of byte;
netmail_flags:set of { Bit-mapped NetMail options }
inf_netmail_flags;
credits:word; { NetMail credits }
debits:word; { NetMail debits }
can_forward:byte; { 0=Message forwarding not allowed }
inf_header_len:word; { Size of INF_HEADER structure }
inf_areainfo_len:word; { Size of INF_AREA_INFO structure }
mix_structlen:word; { Size of MIX_REC structure }
fti_structlen:word; { Size of FTI_REC structure }
uses_upl_file:byte; { If this field is not zero, the door that }
{ created this packet can receive reply }
{ packets in the new *.UPL file format. }
{ Otherwise, the old *.UPI and *.NET }
{ files must be used. }
from_to_len:byte; { The maximum length of the FROM: and TO: }
{ fields that the host BBS can support. }